﻿using System;


namespace Obj
{
    public class objPermissao
    {
        #region Construtor
        public objPermissao(int permissaoID, string descricao) 
        {
            this.PermissaoID = permissaoID;
            this.Descricao = descricao; 
        }
        public objPermissao(string descricao)
        {
            this.Descricao = descricao;
        }
        public objPermissao(int permissaoID)
        {
            this.PermissaoID = permissaoID;
        }
        #endregion

        #region Propriedades

        private int _permissaoID;
        private string _descricao;

        public int PermissaoID
        {
            get { return _permissaoID; }
            set { _permissaoID = value; }
        }
        

        public string Descricao
        {
            get { return _descricao; }
            set { _descricao = value; }
        }

        #endregion

    }
}